/**       
 * @{#} PoolUtils.java Create on 2012-3-29 下午3:41:42       
 *       
 * Copyright (c) 2012 by able.       
 */
package __javable.core.util.pool;

/** 
 *  
 * 
 * @history 
 * <PRE> 
 * --------------------------------------------------------- 
 * VERSION       DATE            BY       CHANGE/COMMENT 
 * --------------------------------------------------------- 
 * 1.0           2012-3-29      able         create 
 * --------------------------------------------------------- 
 * </PRE> 
 * 
 */
public final class PoolUtils {

    public static void checkRethrow(Throwable t) {
        if (t instanceof ThreadDeath) {
            throw (ThreadDeath) t;
        }
        if (t instanceof VirtualMachineError) {
            throw (VirtualMachineError) t;
        }
        // All other instances of Throwable will be silently swallowed
    }
    
}
